<?php

namespace App\Http\Controllers;

use App\Models\Admin;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;

class WelcomeController extends AdminController
{
    public $userid;
    public function __construct()
    {
        parent::__construct();
    }

    public function index(Request $request){

        $info = $request->user();
        return view("layouts.common",["info"=>$info]);
    }
}
